package com.jinxin.platform.cdfaceacs.bean;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

/**
 * <b>[cdfaceacs_open_record]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2021-05-20
 */
public class CdfaceacsOpenRecord{

	/**
	 * ID
	 */
	private String id;
	
	/**
	 * 工种ID
	 */
	private String workTypeId;
	
	/**
	 * 工种名称
	 */
	private String workType;
	
	/**
	 * 设备序列号
	 */
	private String serialNum;
	
	/**
	 * 设备名称
	 */
	private String deviceName;
	
	/**
	 * 开门用户ID
	 */
	private String openUserId;
	
	/**
	 * 开门用户
	 */
	private String openUser;
	
	/**
	 * 电话号码
	 */
	private String phone;
	
	/**
	 * 开门时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime openTime;
	
	/**
	 * 抓拍图片
	 */
	private String capturePic;
	
	/**
	 * 记录类型
	 */
	private String recordType;
	
	/**
	 * 班组ID
	 */
	private String teamId;
	
	/**
	 * 班组名称
	 */
	private String team;
	
	/**
	 * 设备区域
	 */
	private String deviceArea;
	
	/**
	 * 进出方向
	 */
	private String direction;
	
	/**
	 * 设备IP
	 */
	private String deviceIp;
	/**
	 * 人员编号
	 */
	private String personCode;
	

	/**
	 * ID
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 工种ID
	 * 
	 * @return workTypeId
	 */
	public String getWorkTypeId() {
		return workTypeId;
	}
	
	/**
	 * 工种名称
	 * 
	 * @return workType
	 */
	public String getWorkType() {
		return workType;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @return serialNum
	 */
	public String getSerialNum() {
		return serialNum;
	}
	
	/**
	 * 设备名称
	 * 
	 * @return deviceName
	 */
	public String getDeviceName() {
		return deviceName;
	}
	
	/**
	 * 开门用户ID
	 * 
	 * @return openUserId
	 */
	public String getOpenUserId() {
		return openUserId;
	}
	
	/**
	 * 开门用户
	 * 
	 * @return openUser
	 */
	public String getOpenUser() {
		return openUser;
	}
	
	/**
	 * 电话号码
	 * 
	 * @return phone
	 */
	public String getPhone() {
		return phone;
	}
	
	/**
	 * 开门时间
	 * 
	 * @return openTime
	 */
	public LocalDateTime getOpenTime() {
		return openTime;
	}
	
	/**
	 * 抓拍图片
	 * 
	 * @return capturePic
	 */
	public String getCapturePic() {
		return capturePic;
	}
	
	/**
	 * 记录类型
	 * 
	 * @return recordType
	 */
	public String getRecordType() {
		return recordType;
	}
	
	/**
	 * 班组ID
	 * 
	 * @return teamId
	 */
	public String getTeamId() {
		return teamId;
	}
	
	/**
	 * 班组名称
	 * 
	 * @return team
	 */
	public String getTeam() {
		return team;
	}
	
	/**
	 * 设备区域
	 * 
	 * @return deviceArea
	 */
	public String getDeviceArea() {
		return deviceArea;
	}
	
	/**
	 * 进出方向
	 * 
	 * @return direction
	 */
	public String getDirection() {
		return direction;
	}
	
	/**
	 * 设备IP
	 * 
	 * @return deviceIp
	 */
	public String getDeviceIp() {
		return deviceIp;
	}
	

	/**
	 * ID
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 工种ID
	 * 
	 * @param workTypeId
	 */
	public void setWorkTypeId(String workTypeId) {
		this.workTypeId = workTypeId;
	}
	
	/**
	 * 工种名称
	 * 
	 * @param workType
	 */
	public void setWorkType(String workType) {
		this.workType = workType;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @param serialNum
	 */
	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}
	
	/**
	 * 设备名称
	 * 
	 * @param deviceName
	 */
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	
	/**
	 * 开门用户ID
	 * 
	 * @param openUserId
	 */
	public void setOpenUserId(String openUserId) {
		this.openUserId = openUserId;
	}
	
	/**
	 * 开门用户
	 * 
	 * @param openUser
	 */
	public void setOpenUser(String openUser) {
		this.openUser = openUser;
	}
	
	/**
	 * 电话号码
	 * 
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	/**
	 * 开门时间
	 * 
	 * @param openTime
	 */
	public void setOpenTime(LocalDateTime openTime) {
		this.openTime = openTime;
	}
	
	/**
	 * 抓拍图片
	 * 
	 * @param capturePic
	 */
	public void setCapturePic(String capturePic) {
		this.capturePic = capturePic;
	}
	
	/**
	 * 记录类型
	 * 
	 * @param recordType
	 */
	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}
	
	/**
	 * 班组ID
	 * 
	 * @param teamId
	 */
	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}
	
	/**
	 * 班组名称
	 * 
	 * @param team
	 */
	public void setTeam(String team) {
		this.team = team;
	}
	
	/**
	 * 设备区域
	 * 
	 * @param deviceArea
	 */
	public void setDeviceArea(String deviceArea) {
		this.deviceArea = deviceArea;
	}
	
	/**
	 * 进出方向
	 * 
	 * @param direction
	 */
	public void setDirection(String direction) {
		this.direction = direction;
	}
	
	/**
	 * 设备IP
	 * 
	 * @param deviceIp
	 */
	public void setDeviceIp(String deviceIp) {
		this.deviceIp = deviceIp;
	}

	public String getPersonCode() {
		return personCode;
	}

	public void setPersonCode(String personCode) {
		this.personCode = personCode;
	}
}